package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Visitors;

import java.util.List;

public interface VisitorsApi {

    //保存访客记录
    void save(Visitors visitors);

    //根据用户id和时间查询
    List<Visitors> queryMyVisitors(Long userId, Long date);

    //根据用户id
    List<Visitors> findByUserId(Long userId, Integer page, Integer pagesize);
}
